$color-white: #fff;
$color-haiyanglan: #5191ff;
$color-haiyanglan-disabled: #97bdff;
$color-shenhailan: #2c5dff;
$color-shenhailan-disabled: #809eff;
$color-tiankonglan: #43c7f9;
$color-tiankonglan-disabled: #8eddfb;
$color-shiliuhong: #ec0000;
$color-shiliuhong-disabled: #f46666;
$color-shanchahong: #fa648d;
$color-shanchahong-disabled: #fca2bb;
$color-zhulv: #00ad82;
$color-zhulv-disabled: #66ceb4;
$color-caolv: #19c349;
$color-caolv-disabled: #75db92;
$color-bohelv: #00d3b5;
$color-bohelv-disabled: #66e5d3;
$color-nanguacheng: #ff7c03;
$color-nanguacheng-disabled: #ffb068;
$color-zise: #6665ff;
$color-zise-disabled: #a3a3ff;

$haiyanglan: (
  text-color: $color-haiyanglan,
  bg-color: $color-haiyanglan,
  border-color: $color-haiyanglan,
  text-color-disabled: $color-haiyanglan-disabled,
  bg-color-disabled: $color-haiyanglan-disabled,
  border-color-disabled: $color-haiyanglan-disabled,
);
$shenhailan: (
  text-color: $color-shenhailan,
  bg-color: $color-shenhailan,
  border-color: $color-shenhailan,
  text-color-disabled: $color-shenhailan-disabled,
  bg-color-disabled: $color-shenhailan-disabled,
  border-color-disabled: $color-shenhailan-disabled,
);
$tiankonglan: (
  text-color: $color-tiankonglan,
  bg-color: $color-tiankonglan,
  border-color: $color-tiankonglan,
  text-color-disabled: $color-tiankonglan-disabled,
  bg-color-disabled: $color-tiankonglan-disabled,
  border-color-disabled: $color-tiankonglan-disabled,
);
$shiliuhong: (
  text-color: $color-shiliuhong,
  bg-color: $color-shiliuhong,
  border-color: $color-shiliuhong,
  text-color-disabled: $color-shiliuhong-disabled,
  bg-color-disabled: $color-shiliuhong-disabled,
  border-color-disabled: $color-shiliuhong-disabled,
);
$shanchahong: (
  text-color: $color-shanchahong,
  bg-color: $color-shanchahong,
  border-color: $color-shanchahong,
  text-color-disabled: $color-shanchahong-disabled,
  bg-color-disabled: $color-shanchahong-disabled,
  border-color-disabled: $color-shanchahong-disabled,
);
$zhulv: (
  text-color: $color-zhulv,
  bg-color: $color-zhulv,
  border-color: $color-zhulv,
  text-color-disabled: $color-zhulv-disabled,
  bg-color-disabled: $color-zhulv-disabled,
  border-color-disabled: $color-zhulv-disabled,
);
$caolv: (
  text-color: $color-caolv,
  bg-color: $color-caolv,
  border-color: $color-caolv,
  text-color-disabled: $color-caolv-disabled,
  bg-color-disabled: $color-caolv-disabled,
  border-color-disabled: $color-caolv-disabled,
);
$bohelv: (
  text-color: $color-bohelv,
  bg-color: $color-bohelv,
  border-color: $color-bohelv,
  text-color-disabled: $color-bohelv-disabled,
  bg-color-disabled: $color-bohelv-disabled,
  border-color-disabled: $color-bohelv-disabled,
);
$nanguacheng: (
  text-color: $color-nanguacheng,
  bg-color: $color-nanguacheng,
  border-color: $color-nanguacheng,
  text-color-disabled: $color-nanguacheng-disabled,
  bg-color-disabled: $color-nanguacheng-disabled,
  border-color-disabled: $color-nanguacheng-disabled,
);
$zise: (
  text-color: $color-zise,
  bg-color: $color-zise,
  border-color: $color-zise,
  text-color-disabled: $color-zise-disabled,
  bg-color-disabled: $color-zise-disabled,
  border-color-disabled: $color-zise-disabled,
);
// 定义映射集合
$themes: (
  haiyanglan: $haiyanglan,
  shenhailan: $shenhailan,
  tiankonglan: $tiankonglan,
  shiliuhong: $shiliuhong,
  shanchahong: $shanchahong,
  zhulv: $zhulv,
  caolv: $caolv,
  bohelv: $bohelv,
  nanguacheng: $nanguacheng,
  zise: $zise,
);
// 文字颜色
@mixin text-color() {
  @each $themename, $theme in $themes {
    [data-theme='#{$themename}'] & {
      color: map-get($map: $theme, $key: text-color);
    }
  }
}
// 文字颜色禁止状态
@mixin text-color-disabled() {
  @each $themename, $theme in $themes {
    [data-theme='#{$themename}'] & {
      color: map-get($map: $theme, $key: text-color-disabled);
    }
  }
}
// 背景颜色
@mixin bg-color() {
  @each $themename, $theme in $themes {
    [data-theme='#{$themename}'] & {
      background-color: map-get($map: $theme, $key: bg-color);
    }
  }
}
// 背景颜色禁止状态
@mixin bg-color-disabled() {
  @each $themename, $theme in $themes {
    [data-theme='#{$themename}'] & {
      background-color: map-get($map: $theme, $key: bg-color-disabled);
    }
  }
}
// 边框颜色
@mixin border-color() {
  @each $themename, $theme in $themes {
    [data-theme='#{$themename}'] & {
      border-color: map-get($map: $theme, $key: border-color);
    }
  }
}
// 边框颜色禁止状态
@mixin border-color-disabled() {
  @each $themename, $theme in $themes {
    [data-theme='#{$themename}'] & {
      border-color: map-get($map: $theme, $key: border-color-disabled);
    }
  }
}
